package com.example.larouzey.zyfyp_201.activity;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.example.larouzey.zyfyp_201.R;

public class LoginActivity extends AppCompatActivity implements View.OnClickListener{
    private Button bt1,bt2;
    private EditText ed1,ed2;
    private TextView tx1,tx2;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_login);
        init();
    }

    public void init(){
        bt1=(Button)findViewById(R.id.button3);
        bt2=(Button)findViewById(R.id.button4);
    }
    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.button3:
                Intent intent=new Intent(LoginActivity.this,MainActivity.class);
                break;
        }
    }
}
